<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Categories model
 *
 * @package		PyroCMS
 * @subpackage	Categories Module
 * @category	Modules
 * @author		Phil Sturgeon - PyroCMS Dev Team
 */
class Stoepje_setting_m extends MY_Model{
	protected $_table = 'stoepje_setting';
	
	function getByKey($key)
	{
		return $this->db->select('stoepje_setting.*')
					->where(array('stoepje_setting.key' => $key))
					->get('stoepje_setting')
					->row();
	}
}